package models;

import java.util.ArrayList;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToMany;
import javax.persistence.Table;

import play.db.jpa.Model;

@Entity
@Table(name="keyword")
public class Keyword extends Model{

	@Column(name="type")
	public String type;
	
	@Column(name="value")
	public String value;
	
	@ManyToMany
	public List<Dream> dreams = new ArrayList<Dream>();
	
	@ManyToMany
	public List<Proposal> proposals = new ArrayList<Proposal>();
	

}
